ssh node02  "source /etc/profile;jps |grep HMaster |cut -c 1-5 |xargs kill -s 9"
ssh node03  "source /etc/profile;jps |grep HMaster |cut -c 1-5 |xargs kill -s 9"
for n in node01 node02 node03
do
{
 ssh $n "source /etc/profile;jps |grep HRegionServer |cut -c 1-5 |xargs kill -s 9 "
}&
wait
done 
